<template>
	<view>
		<table>
			<tr>
				<th>标题</th>
				<th>内容</th>
				<th>图片</th>
			</tr>
			<tr v-for="v in lists">
				<td>{{v.Title}}</td>
				<td>{{v.Content}}</td>
				<td><img :src="v.Img" style="width: 100px;"></td>
			</tr>
		</table>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			lists:[],	
			}
		},
		methods: {
			list(){
				uni.request({
				    url: 'https://www.example.com/request', //仅为示例，并非真实接口地址。
				    data: {
				        text: 'uni.request'
				    },
				    header: {
				        'custom-header': 'hello' //自定义请求头信息
				    },
				    success: (res) => {
				        console.log(res.data);
				        this.text = 'request success';
				    }
				});

			}	
		},
	}
</script>

<style>

</style>
